Integrand size = 16, antiderivative size = 81 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=-\frac {1}{2} \sqrt {\frac {1}{10} \left (3+\sqrt {5}\right )} \text {arctanh}\left (\sqrt {\frac {2}{3+\sqrt {5}}} x^2\right )+\frac {1}{2} \sqrt {\frac {1}{10} \left (3-\sqrt {5}\right )} \text {arctanh}\left (\sqrt {\frac {1}{2} \left (3+\sqrt {5}\right )} x^2\right ) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1373, 1144, 213} \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=\frac {1}{2} \sqrt {\frac {1}{10} \left (3-\sqrt {5}\right )} \text {arctanh}\left (\sqrt {\frac {1}{2} \left (3+\sqrt {5}\right )} x^2\right )-\frac {1}{2} \sqrt {\frac {1}{10} \left (3+\sqrt {5}\right )} \text {arctanh}\left (\sqrt {\frac {2}{3+\sqrt {5}}} x^2\right ) \]
[In]
[Out]
Rule 213
Rule 1144
Rule 1373
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \text {Subst}\left (\int \frac {x^2}{1-3 x^2+x^4} \, dx,x,x^2\right ) \\ & = \frac {1}{20} \left (5-3 \sqrt {5}\right ) \text {Subst}\left (\int \frac {1}{-\frac {3}{2}+\frac {\sqrt {5}}{2}+x^2} \, dx,x,x^2\right )+\frac {1}{20} \left (5+3 \sqrt {5}\right ) \text {Subst}\left (\int \frac {1}{-\frac {3}{2}-\frac {\sqrt {5}}{2}+x^2} \, dx,x,x^2\right ) \\ & = -\frac {1}{2} \sqrt {\frac {1}{10} \left (3+\sqrt {5}\right )} \tanh ^{-1}\left (\sqrt {\frac {2}{3+\sqrt {5}}} x^2\right )+\frac {1}{2} \sqrt {\frac {1}{10} \left (3-\sqrt {5}\right )} \tanh ^{-1}\left (\sqrt {\frac {1}{2} \left (3+\sqrt {5}\right )} x^2\right ) \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.12 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=\frac {1}{40} \left (\left (-5+\sqrt {5}\right ) \log \left (-1+\sqrt {5}-2 x^2\right )+\left (5+\sqrt {5}\right ) \log \left (1+\sqrt {5}-2 x^2\right )-\left (-5+\sqrt {5}\right ) \log \left (-1+\sqrt {5}+2 x^2\right )-\left (5+\sqrt {5}\right ) \log \left (1+\sqrt {5}+2 x^2\right )\right ) \]
[In]
[Out]
Time = 0.07 (sec) , antiderivative size = 62, normalized size of antiderivative = 0.77
method | result | size |
default | \(-\frac {\ln \left (x^{4}+x^{2}-1\right )}{8}-\frac {\operatorname {arctanh}\left (\frac {\left (2 x^{2}+1\right ) \sqrt {5}}{5}\right ) \sqrt {5}}{20}+\frac {\ln \left (x^{4}-x^{2}-1\right )}{8}-\frac {\sqrt {5}\, \operatorname {arctanh}\left (\frac {\left (2 x^{2}-1\right ) \sqrt {5}}{5}\right )}{20}\) | \(62\) |
risch | \(\frac {\ln \left (2 x^{2}-\sqrt {5}-1\right )}{8}+\frac {\ln \left (2 x^{2}-\sqrt {5}-1\right ) \sqrt {5}}{40}+\frac {\ln \left (2 x^{2}+\sqrt {5}-1\right )}{8}-\frac {\ln \left (2 x^{2}+\sqrt {5}-1\right ) \sqrt {5}}{40}-\frac {\ln \left (2 x^{2}-\sqrt {5}+1\right )}{8}+\frac {\ln \left (2 x^{2}-\sqrt {5}+1\right ) \sqrt {5}}{40}-\frac {\ln \left (2 x^{2}+\sqrt {5}+1\right )}{8}-\frac {\ln \left (2 x^{2}+\sqrt {5}+1\right ) \sqrt {5}}{40}\) | \(126\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 109 vs. \(2 (41) = 82\).
Time = 0.26 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.35 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=\frac {1}{40} \, \sqrt {5} \log \left (\frac {2 \, x^{4} + 2 \, x^{2} - \sqrt {5} {\left (2 \, x^{2} + 1\right )} + 3}{x^{4} + x^{2} - 1}\right ) + \frac {1}{40} \, \sqrt {5} \log \left (\frac {2 \, x^{4} - 2 \, x^{2} - \sqrt {5} {\left (2 \, x^{2} - 1\right )} + 3}{x^{4} - x^{2} - 1}\right ) - \frac {1}{8} \, \log \left (x^{4} + x^{2} - 1\right ) + \frac {1}{8} \, \log \left (x^{4} - x^{2} - 1\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 165 vs. \(2 (58) = 116\).
Time = 0.20 (sec) , antiderivative size = 165, normalized size of antiderivative = 2.04 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=\left (- \frac {1}{8} - \frac {\sqrt {5}}{40}\right ) \log {\left (x^{2} - \frac {3}{2} - \frac {3 \sqrt {5}}{10} - 640 \left (- \frac {1}{8} - \frac {\sqrt {5}}{40}\right )^{3} \right )} + \left (- \frac {1}{8} + \frac {\sqrt {5}}{40}\right ) \log {\left (x^{2} - \frac {3}{2} - 640 \left (- \frac {1}{8} + \frac {\sqrt {5}}{40}\right )^{3} + \frac {3 \sqrt {5}}{10} \right )} + \left (\frac {1}{8} - \frac {\sqrt {5}}{40}\right ) \log {\left (x^{2} - \frac {3 \sqrt {5}}{10} - 640 \left (\frac {1}{8} - \frac {\sqrt {5}}{40}\right )^{3} + \frac {3}{2} \right )} + \left (\frac {\sqrt {5}}{40} + \frac {1}{8}\right ) \log {\left (x^{2} - 640 \left (\frac {\sqrt {5}}{40} + \frac {1}{8}\right )^{3} + \frac {3 \sqrt {5}}{10} + \frac {3}{2} \right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (41) = 82\).
Time = 0.27 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.07 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=\frac {1}{40} \, \sqrt {5} \log \left (\frac {2 \, x^{2} - \sqrt {5} + 1}{2 \, x^{2} + \sqrt {5} + 1}\right ) + \frac {1}{40} \, \sqrt {5} \log \left (\frac {2 \, x^{2} - \sqrt {5} - 1}{2 \, x^{2} + \sqrt {5} - 1}\right ) - \frac {1}{8} \, \log \left (x^{4} + x^{2} - 1\right ) + \frac {1}{8} \, \log \left (x^{4} - x^{2} - 1\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 92 vs. \(2 (41) = 82\).
Time = 0.32 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.14 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=\frac {1}{40} \, \sqrt {5} \log \left (\frac {{\left | 2 \, x^{2} - \sqrt {5} + 1 \right |}}{2 \, x^{2} + \sqrt {5} + 1}\right ) + \frac {1}{40} \, \sqrt {5} \log \left (\frac {{\left | 2 \, x^{2} - \sqrt {5} - 1 \right |}}{{\left | 2 \, x^{2} + \sqrt {5} - 1 \right |}}\right ) - \frac {1}{8} \, \log \left ({\left | x^{4} + x^{2} - 1 \right |}\right ) + \frac {1}{8} \, \log \left ({\left | x^{4} - x^{2} - 1 \right |}\right ) \]
[In]
[Out]
Time = 8.37 (sec) , antiderivative size = 77, normalized size of antiderivative = 0.95 \[ \int \frac {x^5}{1-3 x^4+x^8} \, dx=-\mathrm {atanh}\left (\frac {4\,x^2}{\sqrt {5}-3}-\frac {2\,\sqrt {5}\,x^2}{\sqrt {5}-3}\right )\,\left (\frac {\sqrt {5}}{20}+\frac {1}{4}\right )-\mathrm {atanh}\left (\frac {4\,x^2}{\sqrt {5}+3}+\frac {2\,\sqrt {5}\,x^2}{\sqrt {5}+3}\right )\,\left (\frac {\sqrt {5}}{20}-\frac {1}{4}\right ) \]
[In]
[Out]